package com.frejoys.common.vo.ad;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/5/6 10:11
 */
@Data
public class UserAdVo {
    // 广告图
    @Schema(type = "String", name = "cover", description = "广告图", defaultValue = "1")
    private String cover;

    // URL地址
    @Schema(type = "String", name = "url", description = "URL地址", defaultValue = "1")
    private String url;

    // 通用id，根据type不同，例如店铺id
    @Schema(type = "Integer", name = "commonId", description = "通用id，根据type不同，例如店铺id", defaultValue = "1")
    private Integer commonId;

    // 类型：1自定义广告，2店铺广告
    @Schema(type = "Integer", name = "type", description = " 类型：0静态广告 1自定义广告，2店铺广告", defaultValue = "1")
    private Integer type;
}
